//============================================================================
// Name        : csiena
// Author      : Josh Lospinoso
// Copyright   : MIT License
// Description : Austere, limited implementation of the R package RSiena in
//				 C++. Used for fast maximum likelihood and method of moments
//				 estimation of stochastic actor oriented models (SAOMs)
//				 without any frills or user experience niceties.
//============================================================================

#ifndef GLOBALS_H_
#define GLOBALS_H_

#include <math.h>
#include <iostream>
#include <string>
#include <fstream>
#include <string.h>
#include "stdio.h"
#include <cstdlib>
#include <float.h>

#define GAMMA_LENGTH 2
#define BETA_LENGTH 4
#define THETA_LENGTH (GAMMA_LENGTH+BETA_LENGTH)
#define PERMUTE_MAX 25
#define DERIV_MAX DBL_MAX
// Proposal probabilities here
#define PERMUTE_PROPOSAL 0.3
#define INSERTD_PROPOSAL 0.15
#define DELETED_PROPOSAL 0.15
#define INSERTCCP_PROPOSAL .15
#define DELETECCP_PROPOSAL .15
#define INSERTEC_PROPOSAL .05
#define DELETEEC_PROPOSAL .05
#define MIN_DERIVATIVE .0005
#define MAX_DERIVATIVE 10
#define MIN_GAMMA .0001
#define MAX_GAMMA .2

// If you want to diagnose proposal results, uncomment this line:
// #define PRINT_PROPOSAL_RESULTS 1
#endif // GLOBALS_H_